package com.qf.service;

import com.qf.dao.RoleDao;
import com.qf.pojo.Role;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Set;

/**
 * projectName: wokepase1
 *
 * @author: 强力
 * time: 2021/9/7 17:17
 * description:
 */
@Service
public class RoleServiceImpl implements  RoleService{
    @Autowired
 private RoleDao roleDao;

    @Override
    public Set<String> findRoleByUid(Integer uid) {
        Set<String> role = roleDao.findRoleByUid(uid);
        return role;
    }
}
